 /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sgs.fachada;

import br.com.sgs.dao.DAOInstituicao;
import br.com.sgs.dao.IDAOInstituicao;
import br.com.sgs.entity.Instituicao;
import java.util.List;

/**
 *
 * @author Eric
 */
public class InstituicaoFachada extends Fachada implements InstituicaoIFachada{

    @Override
    public Instituicao findInstituicaoById(int idinstituicao) {
        IDAOInstituicao idao = new DAOInstituicao();
        return idao.findInstituicaoById(idinstituicao);
    
    }

    @Override
    public List<Instituicao> findInstituicaoByAll(String nome, String nomefantasia, String cnpj, List<String> lsstatus) {
        IDAOInstituicao idao = new DAOInstituicao();
        return idao.findInstituicaoByAll(nome, nomefantasia, cnpj, lsstatus);
        
    }
    

}
